package com.bigdata.service.domain.bo;

import com.bigdata.common.core.domain.BaseEntity;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class PwdBo extends BaseEntity {

    @NotBlank(message = "旧密码不能为空", groups = { EditGroup.class })
    private String oldPwd;
    @NotBlank(message = "新密码不能为空", groups = { EditGroup.class })
    private String newPwd;
    @NotBlank(message = "验证码不能为空", groups = { EditGroup.class })
    private String code;
    @NotBlank(message = "uuid不能为空", groups = { EditGroup.class })
    private String uuid;
}
